package org.libspark.fmvc.util.reflection.impl
{
	import org.libspark.fmvc.util.reflection.IArgument;
	import org.libspark.fmvc.util.reflection.IMetaData;

	public class Argument implements IArgument
	{

		private var _metaData:IMetaData;

		private var _name:String;

		private var _value:String;

		public function Argument(xml:XML, metaData:IMetaData)
		{
			_metaData = metaData;
			_name = xml.@name;
			_value = xml.@value;
		}

		public function get name():String
		{
			return _name;
		}

		public function get value():String
		{
			return _value;
		}

		public function get declaringMetaData():IMetaData
		{
			return _metaData;
		}
	}
}